<div class="showrrboxtext">
    <div class="table-box tablenes">
        <div class="title">收入合同</div>
        <div class="tuo"><div class="tit">收入合同金额含补充(元)</div><div class="con" id="right_shimoney">0</div></div>
        <div class="tuo"><div class="tit">项目签证金额含税(元)</div><div class="con" id="right_visamoney">0</div></div>
    </div>
    <div class="table-box tablenes">
        <div class="title">合同结算</div>
        <div class="tuo"><div class="tit">进度结算金额(元)</div><div class="con" id="right_shijiejinmoney">0</div></div>
        <div class="tuo"><div class="tit">最终结算金额(元)</div><div class="con" id="right_shijiemoney">0</div></div>
        <div class="tuo"><div class="tit">结算扣罚款金额(元)</div><div class="con" id="right_shijiekoufafee">0</div></div>
        <div class="tuo"><div class="tit">收入合同结算净额(元)</div><div class="con" id="right_shijiejingfee">0</div></div>
    </div>
    <div class="table-box tablenes">
        <div class="title">开票/回款</div>
        <div class="tuo"><div class="tit">项目开票金额(元)</div><div class="con" id="right_kai_money">0</div></div>
        <div class="tuo"><div class="tit">工程回款金额(元)</div><div class="con" id="right_shougonghuifee">0</div></div>
    </div>
    <div class="table-box tablenes">
        <div class="title">待回款</div>
        <div class="tuo"><div class="tit">待回款按合同(元)</div><div class="con" id="right_daihuifee_anhe">0</div></div>
        <div class="tuo"><div class="tit">待回款按开票(元)</div><div class="con" id="right_daihuifee_ankai">0</div></div>
        <div class="tuo"><div class="tit">待回款按结算(元)</div><div class="con" id="right_daihuifee_anjie">0</div></div>
    </div>
</div>

<script>
    function set_right_relainfo(engininfo) {
        if(engininfo){
            $("#right_shimoney").text(parseFormatNum(engininfo.shimoney)).addClass('colorlan').click(function () {
                openNavPage('查看收入合同信息','contract_shi/index.php?status=1&enginid='+engininfo.id);
            });
            $("#right_visamoney").text(parseFormatNum(engininfo.visamoney)).addClass('colorlan').click(function () {
                openNavPage('查看项目签证信息','engin_visa/index.php?status=1&enginid='+engininfo.id);
            });
            $("#right_shijiejinmoney").text(parseFormatNum(engininfo.shijiejinmoney));
            $("#right_shijiemoney").text(parseFormatNum(engininfo.shijiemoney));
            $("#right_shijiekoufafee").text(parseFormatNum(engininfo.shijiekoufafee));
            $("#right_shijiejingfee").text(parseFormatNum(engininfo.shijiejingfee));
            $("#right_kai_money").text(parseFormatNum(engininfo.kai_money)).addClass('colorlan').click(function () {
                openNavPage('查看项目开票信息','piao_kai/index.php?status=1&enginid='+engininfo.id);
            });
            $("#right_shougonghuifee").text(parseFormatNum(engininfo.shougonghuifee)).addClass('colorlan').click(function () {
                openNavPage('查看项目收款信息','shou_xiang/index.php?status=1&feilei_option=xmsr_gchk&enginid='+engininfo.id);
            });
            $("#right_daihuifee_anhe").text(parseFormatNum(engininfo.daihuifee_anhe));
            $("#right_daihuifee_ankai").text(parseFormatNum(engininfo.daihuifee_ankai));
            $("#right_daihuifee_anjie").text(parseFormatNum(engininfo.daihuifee_anjie));
        }
    }
</script>